<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>修德抄经堂</title>
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<link rel="stylesheet" type="text/css" href="../bower_components/mui/dist/css/mui.min.css">
	<link rel="stylesheet" type="text/css" href="../css/base.css">
	<link rel="stylesheet" type="text/css" href="../css/full.css">
	<link rel="stylesheet" type="text/css" href="../css/login.css">
	<script src="../js/resLoader.js"></script> 
</head>
<body>
	<div class="page">
		<!--<header class="mui-bar mui-bar-nav title">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"><span>返回</span></a>
	      	<h1 class="mui-title">道德抄经堂</h1>
	    </header>-->
	    <div class="content">
	    	<div class="login">
	    		<div class="login_input">
	    			<input id="yonghuming" type="text" name="" class="cover" placeholder="手机/用户名">
	    			<div class="user_pic">
	    				<img src="../img/user.png" class="cover">
	    			</div>
	    		</div>
	    		<div class="login_input password">
	    			<input type="password" name="" class="cover" placeholder="密码">
	    			<div class="user_lock">
	    				<img src="../img/lock.png" class="cover">
	    			</div>
	    		</div>
	    		<div class="login_type">
	    			<div class="left">
	    				<input type="radio" name="" value="" id="gou" />
	    				<p>下次自动登录</p>
	    			</div>
	    			<div class="right">
	    				<a href="loginprogram.html">
	    					<p>登录遇到问题</p>
	    				</a>
	    			</div>
	    		</div>
	    		<button class="submit" id="submit" type="submit">登录</button>
	    		<a href="reg.html">
	    			<p class="origin">立即注册</p>	
	    		</a>
	    	</div>
	    </div>
	</div>
</body>
<script src="../bower_components/mui/dist/js/mui.min.js"></script>
<script src="../bower_components/jquery/dist/jquery.js"></script>
<script src="../js/index.js"></script>
<script>
	$(function(){
		$("#submit").click(function(){
			var pattern=/^([\u4E00-\uFA29]*[a-z]*[A-Z]*)+$/;
			if(!(/^1[34578]\d{9}$/.test($("#yonghuming").val()))){
				alert("D")
			}
		})
	})
</script>
</html>